package com.whc.message.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whc.message.domain.entity.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface MessageMapper extends BaseMapper<Message> {
    //查询两个用户间的聊天记录
    List<Message> getAll(long senderId,long accepterId);
    //查询未读消息数

}
